Skip to content

Fix costs dict key and num_reps in driver_coal#103

Closed
ylu283 wants to merge 1 commit into
IDAES:mainfrom
ylu283:pr/fix-driver-coal
Closed

Fix costs dict key and num_reps in driver_coal#103
ylu283 wants to merge 1 commit into
IDAES:mainfrom
ylu283:pr/fix-driver-coal

Conversation

@ylu283

@ylu283 ylu283 commented May 28, 2026

Copy link
Copy Markdown
Contributor

Two small fixes in driver_coal.py:

  • costs extraction used var.name instead of exp.name when iterating Expression objects, causing all entries to map to the last Disjunct variable name
  • num_reps was 5, should be 4 to match the 4 seasonal representative periods

- costs extraction used var.name instead of exp.name for Expression objects
- num_reps was 5, should be 4 to match seasonal representative periods
@jkskolf jkskolf added the Priority:High High Priority Issue or PR label Jun 8, 2026
@blnicho

blnicho commented Jun 8, 2026

Copy link
Copy Markdown
Member

This is an old and untested driver that we don't intend to support so going to close this. Eventually the plan is to remove this file completely.

@blnicho blnicho closed this Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority:High High Priority Issue or PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants